package com.qf.efserver.user.personaldata.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ---做一个内核强大的人---
 *
 * @author HuaZi
 * @date 2024/11/13
 * @desc 希望我们都能遇到真诚的人
 */
@Data
@ApiModel(description = "体重展示增强实体类")
public class WeightVO {
    /**
     * 体重测量时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "time",value = "时间")
    private String time;
    /**
     * 体重
     */
    @ApiModelProperty(name = "weight",value = "体重")
    private Double weight;

}
